﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="FrontPage" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" Runat="Server">
    <ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true"  EnableScriptLocalization="true" ID="ScriptManager1" ScriptMode="Debug" CombineScripts="false" />

    <asp:Panel ID="stapeZeroPanel" runat="server" Visible="False">
        <h3>
            <asp:Label ID="Label1" runat="server" CssClass="auto-style5">Înregistrare</asp:Label>
        </h3>
    <div class="hr dotted clearfix">&nbsp;</div>
    <asp:Button ID="showNextStep1Button" runat="server" 
            Text="Continuare pentru inregistrare!" onclick="showNextStep1Button_Click" />
</asp:Panel>

<asp:Panel ID="RegFormStep2Panel" runat="server" Visible="false">
    <h4 class="page_title"><asp:Label ID="headerRegForm2Label" runat="server" 
            ForeColor="#189AAD">Bine ați venit pe eConsulat</asp:Label></h4>
    <div class="hr dotted clearfix">&nbsp;</div>
    <p><strong>
        <asp:Label ID="activationRegFormStep2Label" runat="server" 
            Text="În scurt timp veți primi un email de confirmare!"></asp:Label>
        </strong></p>       
</asp:Panel>

<asp:Panel ID="RegFormMenuPanel" runat="server" Visible="false" 
        CssClass="auto-style8" Width="621px">
    <table width="100%" bgcolor="#42A6BD" style="height: 30px" >
        <tr>
            <td align="center" class="auto-style11"><asp:LinkButton ID="programareaRegForm3LinkButton" runat="server" OnClick="programareRegForm_Click" Font-Bold="True" CausesValidation="false"  ForeColor="Black">Programare</asp:LinkButton></td>
            <td align="center" class="auto-style12"><asp:LinkButton ID="personalDataRegFor3LinkButton" runat="server" OnClick="personalRegForm_Click" Font-Bold="True" CausesValidation="false"   ForeColor="Black">Date personale</asp:LinkButton></td>
            <td align="center" class="auto-style15"><asp:LinkButton ID="familyRegForm3LinkButton" runat="server" OnClick="familyRegForm_Click" Font-Bold="True" CausesValidation="false" ForeColor="Black">Familia</asp:LinkButton></td>
            <td align="center" class="auto-style11"><asp:LinkButton ID="settingsRegForm3LinkButton" runat="server" OnClick="settingsRegForm_Click" Font-Bold="True" CausesValidation="false" ForeColor="Black">Setari</asp:LinkButton></td>
            <td align="center"><asp:LinkButton ID="statisticaRegForm3LinkButton" runat="server" OnClick="statisticaInregistrarilorRegForm_Click" Font-Bold="True" CausesValidation="false" ForeColor="Black">Statistica</asp:LinkButton></td>
        </tr>
    </table>  
    <br /> 
    <br />  
</asp:Panel>

<asp:Panel ID="RegFormFamiliaPanel" runat="server" Visible="false">
      
    
    <div class="contactform rounded"> 
        <h3>
            <asp:Label ID="Label11" runat="server" CssClass="auto-style5">Membrii familiei</asp:Label>
        </h3>   
        <p><asp:label ID="regFormFamiliaLabel1" runat="server" 
                Text="Pentru a vizualiza/modifica datele personale ale membrilor familiei selectați numele unuia dintre ei. &lt;br/&gt; Pentru a adăuga un nou membru selectați &lt;em&gt;Adaugă membru nou&lt;/em&gt; și gradul de rudenie:"></asp:label>
<br />
<asp:DropDownList ID="membruFamilieDropDownList" runat="server" CssClass="input"  onselectedindexchanged="membruFamilieDropDownList_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList>
    <asp:Label ID="Label42" runat="server" Text="Selectați gradul de rudenie:"></asp:Label>
    <asp:DropDownList ID="gradRudenieDropDownList" runat="server" CssClass="input"></asp:DropDownList>
    <br />
        </p>
        <div id="Div1" class="field" runat="server"> 
            <label for="field1"><asp:Label ID="familiaNameLabel" runat="server" Text="Numele:"></asp:Label></label>
            <asp:TextBox ID="familiaNameTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" EnableClientScript="false" Display="Dynamic" ControlToValidate="familiaNameTextBox"> * </asp:RequiredFieldValidator>
        </div>
        <!-- name -->
        <div id="Div2" class="field" runat="server">
            <label for="field2"><asp:Label ID="familiaPrenumeLabel" runat="server" Text="Prenumele:"></asp:Label></label>
            <asp:TextBox ID="familiaPrenumeTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"  EnableClientScript="false" Display="Dynamic" ControlToValidate="familiaPrenumeTextBox"> * </asp:RequiredFieldValidator>
        </div>
        <!-- surname -->
        <div id="Div3" class="field" runat="server">
            <label for="field3"><asp:Label ID="familiaOldNameLabel" runat="server" Text="Numele la nastere:"></asp:Label></label>
            <asp:TextBox ID="familiaOldNameTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <!-- oldname -->
        <div id="Div4" class="field" runat="server">
            <label for="field4"><asp:Label ID="familiaDataNastereLabel" runat="server" Text="Data naşterii:" ></asp:Label></label>
            <asp:TextBox ID="familiaDataNastereTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server"  EnableClientScript="false" Display="Dynamic" ControlToValidate="familiaDataNastereTextBox"> * </asp:RequiredFieldValidator>
            <ajaxToolkit:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="familiaDataNastereTextBox"  />
        </div>
        <!-- data geneza -->
        <div id="Div5" class="field" runat="server">
            <label for="field5"><asp:Label ID="familiaCountryGenezaLabel" runat="server" Text="Ţara naşterii:"></asp:Label></label>
            <asp:DropDownList ID="familiaCountryNastereDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
        </div>
        <!-- country geneza -->
        <div id="Div6" class="field" runat="server">
            <label for="field6"><asp:Label ID="familiaLocalityGenezaLabel" runat="server" Text="Locul naşterii:" ></asp:Label></label>
            <asp:TextBox ID="familiaLocalityGenezaTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server"  EnableClientScript="false" Display="Dynamic" ControlToValidate="familiaLocalityGenezaTextBox" > * </asp:RequiredFieldValidator>
        </div>
        <!-- localitate geneza -->
        <div id="Div7" class="field" runat="server" >
            <label for="field7"><asp:Label ID="familiaSexLabel" runat="server" Text="Sexul:"></asp:Label></label>
            <asp:DropDownList ID="familiaSexDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
        </div>
        <!-- sex -->
        <div id="Div8" class="field" runat="server">
            <label for="field8"><asp:Label ID="Label8" runat="server" Text="Cetatenia: "></asp:Label></label>
            <asp:TextBox ID="familiaCetatenieTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>
        <!-- cetatenia -->
            <div id="Div9" runat="server" class="field">
                <label for="field8"><asp:Label ID="Label10" runat="server" Text="Cod numeric personal: "></asp:Label></label>
                <asp:TextBox ID="familiaCnpTextBox" runat="server" CssClass="input"></asp:TextBox>
            </div>
        <!-- cnp -->
        <div id="Div10" class="field" runat="server">
            <label for="field9"><asp:Label ID="familiaNumeTataLabelpe" runat="server" Text="Prenumele tatalui: "></asp:Label></label>
            <asp:TextBox ID="familiaNameTataTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>
        <!-- nameTata -->
        <div id="Div11" class="field" runat="server">
            <label for="field10"><asp:Label ID="familiaNumeMamaLabel" runat="server" Text="Prenumele mamei:"></asp:Label></label>
            <asp:TextBox ID="familiaNameMamaTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>
        <!-- nameMama -->
        <div id="Div12" class="field" runat="server">
            <label for="field11"><asp:Label ID="familiaAddressDomLabel" runat="server" Text="Domiciliul/Reşedinţa:"></asp:Label></label>
            <asp:TextBox ID="familiaAddresDomTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>

        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <!-- domiciliu -->
                <div id="Div13" class="field" runat="server">
                    <label for="field12"><asp:Label ID="familiaCountryDomLabel" runat="server" Text="Ţara: "></asp:Label></label>
                    <asp:DropDownList ID="familiaCountryDomDDL" runat="server" AutoPostBack="true" CssClass="input" onselectedindexchanged="familiaCountryDomDDL_SelectedIndexChanged" Height="32px"></asp:DropDownList>
                </div>
                <!-- country domiciliu -->
                <div id="Div14" class="field" runat="server">
                    <label for="field13"><asp:Label ID="familiaLocalityDomLabel" runat="server" Text="Provincia: "></asp:Label></label>
                    <asp:DropDownList ID="familiaJudeteDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
                </div>
                <!-- county domiciliu -->
            </ContentTemplate>
        </asp:UpdatePanel>


        <div id="Div15" class="field" runat="server">
            <label for="field14"><asp:Label ID="familiaTelefonLabel" runat="server" Text="Telefon: "></asp:Label></label>
            <asp:TextBox ID="familiaTelefonTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <!-- phone -->      
        <div id="Div17" class="field" runat="server">
            <label for="field18"><asp:Label ID="familiaPasaportLabel" runat="server" Text="Carte identitate/Pasaport:"></asp:Label></label>
            <asp:TextBox ID="familiaPasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <div id="Div18" class="field" runat="server">
            <label for="field18"><asp:Label ID="familiaeliberatDetLabel" runat="server" Text="Eliberat de:"></asp:Label></label>
            <asp:TextBox ID="familiaEliberatDeTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <!-- pasaport -->
        <div id="Div19" class="field" runat="server">
            <label for="field19"><asp:Label ID="familiaDataEliberarePasaportLabel" runat="server" Text="Data eliberarii actului: "></asp:Label></label>
                <asp:TextBox ID="familiaDataEliberarePasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="CalendarExtender5" runat="server" TargetControlID="familiaDataEliberarePasaportTextBox" />
            </div>
        <!-- dataEliberarePasaport -->
        <div id="Div20" class="field" runat="server">
            <label for="field19"><asp:Label ID="familiaDataExpPasaportLabel" runat="server" Text="Data expirarii actului: "></asp:Label></label>
            <asp:TextBox ID="familiaDataExpPasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<ajaxToolkit:CalendarExtender ID="CalendarExtender6" runat="server" TargetControlID="familiaDataExpPasaportTextBox" />
        </div>
        <!-- dataExpPasaport -->
        <asp:Button ID="familiaDataSaveButton" runat="server" CssClass="buttonForm" onclick="familiaDataSaveButton_Click" Text="Save" />
        <asp:Button ID="familiaDataCancelButton" runat="server" CssClass="buttonForm" onclick="familiaDataCancelButton_Click" Text="Cancel" CausesValidation="false" />
        
    </div>  


</asp:Panel>

<asp:Panel ID="RegFormSelectPersonTypePanel" runat="server" Visible="false" 
        CssClass="auto-style17" Height="157px">
    <div class="contactform rounded">
        <strong><asp:Label ID="selectPersonTypeTitleLabel" runat="server" Text="Accesati optiunea corecta!"></asp:Label></strong>
        <br />
            <asp:Button ID="Button2" runat="server" onclick="personFizicButton_Click" Text="Persoana fizica" />
            <asp:Label ID="Label9" runat="server" Text=" Sau " Visible="False"></asp:Label>
            <asp:Button ID="Button3" runat="server" Text="Persoana juridica" onclick="personJuridicButton_Click" />
        <h3>
            <asp:Label ID="Label6" runat="server" CssClass="auto-style7" 
                Text="Membrii familiei" Visible="False"></asp:Label>
            <asp:HiddenField ID="newFamilyMemberHiddenField" runat="server" />
        </h3>
    </div>
</asp:Panel>

<asp:Panel ID="RegFormStep1Panel" runat="server" Visible="false" 
        CssClass="auto-style16">
    <div class="contactform rounded">
        <h3>
            <asp:Label ID="headerRegForm1Label" runat="server" CssClass="auto-style5">Înregistrare</asp:Label>
        </h3>
        <p>
            Introduceți datele personale solicitate mai jos. Câmpurile marcate cu asterix 
            sunt obligatorii !!! Verificați corectitudinea datelor înainte de a continua.</p>
        <div class="field" runat="server" id="divNameRegForm1">
            <label for="field1"><asp:Label ID="nameLabel" runat="server">Numele:</asp:Label></label>
            <asp:TextBox ID="nameTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" EnableClientScript="false" Display="Dynamic" ErrorMessage="Numele de familie este obligatoriu"
                ControlToValidate="nameTextBox"> * </asp:RequiredFieldValidator>
            <p class="hint"><asp:label ID="hintNameLabel" runat="server">Introduceți numele de familie. Ex: CONSTANTINESCU</asp:label></p>
        </div>
        <!-- name -->
        <div class="field" runat="server" id="divPrenumeRegForm1">
            <label for="field2"><asp:Label ID="prenumeLabel" runat="server">Prenumele:</asp:Label></label>
            <asp:TextBox ID="prenumeTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"  EnableClientScript="false" Display="Dynamic" ErrorMessage="Prenumele este obligatoriu"
                ControlToValidate="prenumeTextBox"> * </asp:RequiredFieldValidator>
            <p class="hint"><asp:label ID="hintPrenumeLabel" runat="server">Introduceți prenumele. Ex: ALEXANDRU</asp:label></p>
        </div>
        <!-- surname -->
        <div class="field" runat="server" id="divOldNameRegForm1">
            <label for="field3"><asp:Label ID="oldNameLabel" runat="server">Numele la naştere:</asp:Label></label>
            <asp:TextBox ID="oldNameTextBox" runat="server" CssClass="input"></asp:TextBox>
            <p class="hint"><asp:label ID="hintOldNameLabel" runat="server">Introduceți numele la naştere, dacă diferă de cel actual</asp:label></p>
        </div>
        <!-- oldname -->
        <div class="field" runat="server" id="divDataNastereRegForm1">
            <label for="field4"><asp:Label ID="dataNastereLabel" runat="server">Data nașterii:</asp:Label></label>
            <asp:TextBox ID="dataNastereTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"  EnableClientScript="false" Display="Dynamic" ErrorMessage="Data nașterii este obligatoriu"
                ControlToValidate="dataNastereTextBox"> * </asp:RequiredFieldValidator>
            <p class="hint"><asp:label ID="hintDataNastereLabel" runat="server">Introduceți data nașterii în formatul zz/ll/aaaa. Ex: 20/01/1984</asp:label></p>
        </div>
        <!-- data geneza -->
        <div class="field" runat="server" id="divCountryGenezaregForm1">
            <label for="field5"><asp:Label ID="countryGenezaLabel" runat="server">Țara nașterii:</asp:Label></label>
            <asp:DropDownList ID="countryNastereDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
            *<p class="hint"><asp:label ID="hintCountryGenezaLabel" runat="server">Alegeți țara unde v-ați născut. Ex: România.</asp:label></p>
        </div>
        <!-- country geneza -->
        <div class="field" runat="server" id="divLocalityGenezaRegForm1">
            <label for="field6"><asp:Label ID="localityGenezaLabel" runat="server">Locul nașterii: </asp:Label></label>
            <asp:TextBox ID="localityGenezaTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"  EnableClientScript="false" Display="Dynamic" ErrorMessage="Locul nașterii este obligatoriu"
                ControlToValidate="localityGenezaTextBox" > * </asp:RequiredFieldValidator>
            <p class="hint"><asp:label ID="hintLocalityGenezaLabel" runat="server">Introduceți localitatea unde v-ați născut. Ex: Sighișoara</asp:label></p>
        </div>
        <!-- localitate geneza -->
        <div class="field" runat="server" id="divSexRegForm1">
            <label for="field7"><asp:Label ID="sexLabel" runat="server">Sexul: </asp:Label></label>
            <asp:DropDownList ID="sexDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
            *<p class="hint"><asp:label ID="hintSexLabel" runat="server">Alegeţi sexul, masculin sau feminin.</asp:label></p>
        </div>
        <!-- sex -->
        <div class="field" runat="server" id="divCetatenieRegForm1">
            <label for="field8"><asp:Label ID="cetatenieLabel" runat="server">Cetăţenia:</asp:Label></label>
            <asp:TextBox ID="cetatenieTextBox" runat="server" CssClass="input"></asp:TextBox>
            <p class="hint"><asp:label ID="hintCetatenieLabel" runat="server">Introduceți cetăţenia. Dacă aveţi mai multe enumeraţi-le. Ex: Română, Moldoveană</asp:label></p>
            *</div>
        <!-- cetatenia -->
            <div runat="server" class="field" id="cnpDiv" >
                <label for="field8"><asp:Label ID="cnpLabel" runat="server">Cod numeric personal:</asp:Label></label>
                <asp:TextBox ID="cnpTextBox" runat="server" CssClass="input"></asp:TextBox>
                <p class="hint"><asp:label ID="hintCNPLabel" runat="server">Introduceți codul numeric personal românesc (numai dacă sunteți cetățean român!). Ex: 1010112302010</asp:label></p>
                </div>
        <!-- cnp -->
        <div class="field" runat="server" id="divNumeTataRegForm1">
            <label for="field9"><asp:Label ID="numeTataLabel" runat="server">Prenumele tatălui:</asp:Label></label>
            <asp:TextBox ID="nameTataTextBox" runat="server" CssClass="input"></asp:TextBox>
            <p class="hint"><asp:label ID="hintNameTataLabel" runat="server">Introduceți prenumele tatălui. Ex: VASILE</asp:label></p>
            *</div>
        <!-- nameTata -->
        <div class="field" runat="server" id="divNumeMamaRegForm1">
            <label for="field10"><asp:Label ID="numeMamaLabel" runat="server">Prenumele mamei:</asp:Label></label>
            <asp:TextBox ID="nameMamaTextBox" runat="server" CssClass="input"></asp:TextBox>
            <p class="hint"><asp:label ID="hintNameMamaLabel" runat="server">Introduceți prenumele mamei. Ex: ELENA</asp:label></p>
            *</div>
        <!-- nameMama -->
        <div class="field" runat="server" id="divAddressDomRegForm1">
            <label for="field11"><asp:Label ID="addressDomLabel" runat="server">Domiciliul/Reședința:</asp:Label></label>
            <asp:TextBox ID="addresDomTextBox" runat="server" CssClass="input"></asp:TextBox>
            <p class="hint"><asp:label ID="hintAddressDomLabel" runat="server">Introduceți localitatea, strada și numărul (eventual nr bloc și apartament) unde aveți domiciliul/reședința. Ex: Roma, via Romana nr.120</asp:label></p>
            *</div>

        <asp:UpdatePanel runat="server">
            <ContentTemplate>
                <!-- domiciliu -->
                <div class="field" runat="server" id="divCountryDomRegForm1">
                    <label for="field12"><asp:Label ID="countryDomLabel" runat="server">Țara:</asp:Label></label>
                    <asp:DropDownList ID="countryDomDDL" runat="server" AutoPostBack="true" CssClass="input" onselectedindexchanged="countryDomDDL_SelectedIndexChanged" Height="32px"></asp:DropDownList>
                    *<p class="hint"><asp:label ID="hintCountryDomLabel" runat="server">Alegeți țara unde aveți domiciliul/reședința. Ex: Italia</asp:label></p>
                </div>
                <!-- country domiciliu -->
                <div class="field" runat="server" id="divLocalityDomRegForm1">
                    <label for="field13"><asp:Label ID="localityDomLabel" runat="server">Provincia:</asp:Label></label>
                    <asp:DropDownList ID="judeteDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
                    <p class="hint"><asp:label ID="hintJudeteLabel" runat="server">Alegeti provincia/regiunea/raionul unde aveți domiciliul/reședința. Ex: Lazio</asp:label></p>
                </div>
                <!-- county domiciliu -->
            </ContentTemplate>
        </asp:UpdatePanel>


        <div class="field" runat="server" id="divTelefonRegForm1">
            <label for="field14"><asp:Label ID="telefonLabel" runat="server">Telefon:</asp:Label></label>
            <asp:TextBox ID="telefonTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<p class="hint"><asp:label ID="hintTelefonLabel" runat="server">Introduceți numărul de telefon (fix sau mobil) unde puteți fi contactat, inclusiv prefixul țării (trebuie sa fie 11 cifre în total). Ex: 39444455555</asp:label></p>
        </div>
        <!-- phone -->
        <div id="emailDiv" runat="server" class="field">
            <label for="field15"><asp:Label ID="emailLabel" runat="server">Email:</asp:Label></label>
            <asp:TextBox ID="emailTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:CustomValidator ID="RegFormChekEmailExistValidator" runat="server" ControlToValidate="emailTextBox" OnServerValidate="ServerValidation" ErrorMessage="Acest Email Deja Exista!"></asp:CustomValidator>
            <p class="hint"><asp:label ID="hintEmailLabel" runat="server">Introduceți emailul dvs. Ex: ctobai2009@yahoo.com</asp:label></p>
        </div>
        <!-- email -->
        <div id="fieldPassword" runat="server" class="field">
            <label for="field16"><asp:Label ID="passwordLabel" runat="server">Parola:</asp:Label></label>
            <asp:TextBox ID="passwordTextBox" runat="server" CssClass="input" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="passwordReq" runat="server"
                ControlToValidate="passwordTextBox" Display="Dynamic" SetFocusOnError="True" 
                ErrorMessage="Parola este necesară!" />
            <p class="hint"><asp:label ID="hintPasswordLabel" runat="server">Introduceți o parolă formată din minimum 4 caractere. Folosiți o combinație de caractere ușor de reținut</asp:label></p>
        </div>
        <!-- password -->
        <div id="fieldPasswordConfirm" runat="server" class="field">
            <label for="field17"><asp:Label ID="repeatPasswordLabel" runat="server">Repetati Parola:</asp:Label></label>
            <asp:TextBox ID="repeatPasswordTextBox" runat="server" CssClass="input" TextMode="Password"></asp:TextBox>
            *<p class="hint"><asp:Label ID="hintRepeatPasswordLabel" runat="server">Reintroduceți parola introdusă mai sus</asp:Label></p>
            <asp:RequiredFieldValidator ID="confirmPasswordReq" runat="server" ControlToValidate="repeatPasswordTextBox" Display="Dynamic" SetFocusOnError="True" ErrorMessage="Este necesară parola de confirmare!" />
            <asp:CompareValidator ID="comparePasswords" runat="server" ControlToCompare="passwordTextBox" ControlToValidate="repeatPasswordTextBox" Display="Dynamic" ErrorMessage="Parolele nu sunt identice!" />
        </div>
        <!-- repeatPassword -->
        <div class="field" runat="server" id="divPasaportRegForm1">
            <label for="field18"><asp:Label ID="pasaportLabel" runat="server">Carte identitate/Pasaport:</asp:Label></label>
            <asp:TextBox ID="pasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<p class="hint"><asp:Label ID="hintPasaportLabel" runat="server">Introduceți seria şi numărul cărţii dvs de identitate sau a paşaportului. Ex: CD221333</asp:Label></p>
        </div>
        <!-- pasaport -->

        <div class="field" runat="server">
            <label for="field18"><asp:Label ID="Label7" runat="server" Text="Eliberat de:"></asp:Label></label>
            <asp:TextBox ID="eliberatDeTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>

        <div class="field" runat="server" id="divDataEliberarePasaportRegForm1">
            <label for="field19"><asp:Label ID="dataEliberarePasaportLabel" runat="server">Data eliberării actului:</asp:Label></label>
                <asp:TextBox ID="dataEliberarePasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="dataEliberarePasaportTextBox_CalendarExtender" 
                    runat="server" TargetControlID="dataEliberarePasaportTextBox" />
                *<p class="hint"><asp:Label ID="hintDataEliberarePasaportLabel" runat="server">Introduceți data eliberării cărţii de identitate sau a paşaportului în formatul zz/ll/aaaa. Ex: 18/08/2010</asp:Label></p>
            </div>
        <!-- dataEliberarePasaport -->
        <div class="field" runat="server" id="divDataExpPasaportRegForm1">
            <label for="field19"><asp:Label ID="dataExpPasaportLabel" runat="server">Data expirării actului:</asp:Label></label>
            <asp:TextBox ID="dataExpPasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<ajaxToolkit:CalendarExtender ID="dataExpPasaportCalendarExtender" runat="server" TargetControlID="dataExpPasaportTextBox" />
            <p class="hint"><asp:Label ID="hintDataExpPasaportLabel" runat="server">Introduceți data expirării valabilităţii cărţii de identitate sau a paşaportului în formatul zz/ll/aaaa. Ex: 10/02/2020</asp:Label></p>
        </div>
        <!-- dataExpPasaport -->
        <div class="field" runat="server" id="divImageCodeRegForm1">
            <label for="field20"><asp:Label ID="imageCodeLabel" runat="server">Image Code: </asp:Label></label>
            <img src="Captcha.aspx" alt="Verification Code" />
            <p class="hint"><asp:Label ID="hintImageCodeLabel" runat="server">Cod de verificare</asp:Label></p>
        </div>
        <!-- verification code -->
        <div class="field">
            <label for="field21"><asp:Label ID="enterCodeLabel" runat="server">Enter Code:</asp:Label></label>
            <asp:TextBox ID="txtCode" runat="server" CssClass="input"></asp:TextBox>
            *<asp:Label ID="errorLabelLabel" runat="server" ForeColor="#FF3300" 
                Text="***  Please Enter Correct Code" Visible="false"></asp:Label>
            <p class="hint"><asp:Label ID="hintErrorLabel" runat="server">Introduceți codul de verificare de mai sus</asp:Label></p>
        </div>
        <!-- code -->

        <div class="field">
            <asp:TextBox ID="accord_TextBox" runat="server" CssClass="input" Height="66px" 
                TextMode="MultiLine" Width="560px" 
                
                Text="Datele personale introduse mai sus vor fi stocate în bazele de date accesibile autorităţilor române competente şi procesate de către acestea. Declar că, toate datele furnizate sunt corecte şi complete. Declar că am cunoştinţă de faptul că orice date false furnizate conduc la respingerea prezentei solicitări şi pot duce la declanşarea urmăririi mele penale în conformitate cu legea română. 
Sunt de acord cu prelucrarea datelor prezentate in conformitate cu Legea 677/2001." 
                Font-Size="X-Small" ReadOnly="True"></asp:TextBox>
           
        </div>
   
       <div class="field">
           <asp:CheckBox ID="accept_CheckBox" runat="server" Text="Sunt de acord!" />
        </div>

        <ajaxToolkit:CalendarExtender ID="dataNastereTextBoxCalendarExtender" runat="server" TargetControlID="dataNastereTextBox" />
        <asp:Button ID="SaveRegFormStep1Button" runat="server" CssClass="buttonForm" onclick="addNewRegFormSaveButton_Click" Text="Save" />
        <asp:Button ID="CancelRegFormStep1Button" runat="server" CssClass="buttonForm" onclick="RegForm1CancelButton_Click" Text="Cancel" CausesValidation="false" />
        
    </div>  
</asp:Panel>


<asp:Panel ID="personalInfoTablePanel" runat="server" Visible="false">
    <div class="contactform rounded">
        <h3>
            <asp:Label ID="Label3" runat="server" CssClass="auto-style5">Date Personale</asp:Label>
        </h3>
        <p>Pe această pagină puteți vizualiza/ modifica datele dvs personale:</p>
        <div class="field" runat="server"> 
            <label for="field1"><asp:Label ID="PersonalNameLabel" runat="server" Text="Numele:"></asp:Label></label>
            <asp:TextBox ID="personalNameTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" EnableClientScript="false" Display="Dynamic" ControlToValidate="personalNameTextBox"> * </asp:RequiredFieldValidator>
        </div>
        <!-- name -->
        <div class="field" runat="server">
            <label for="field2"><asp:Label ID="personalPrenumeLabel" runat="server" Text="Prenumele:"></asp:Label></label>
            <asp:TextBox ID="personalPrenumeTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"  EnableClientScript="false" Display="Dynamic" ControlToValidate="personalPrenumeTextBox"> * </asp:RequiredFieldValidator>
        </div>
        <!-- surname -->
        <div class="field" runat="server">
            <label for="field3"><asp:Label ID="personalOldNameLabel" runat="server" Text="Numele la naştere:"></asp:Label></label>
            <asp:TextBox ID="personalOldNameTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <!-- oldname -->
        <div class="field" runat="server">
            <label for="field4"><asp:Label ID="personalDataNastereLabel" runat="server" Text="Data nașterii:" ></asp:Label></label>
            <asp:TextBox ID="personalDataNastereTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"  EnableClientScript="false" Display="Dynamic" ControlToValidate="personalDataNastereTextBox"> * </asp:RequiredFieldValidator>
            <ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="personalDataNastereTextBox"  />
        </div>
        <!-- data geneza -->
        <div class="field" runat="server">
            <label for="field5"><asp:Label ID="personalCountryGenezaLabel" runat="server" Text="Țara nașterii:"></asp:Label></label>
            <asp:DropDownList ID="personalCountryNastereDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
        </div>
        <!-- country geneza -->
        <div class="field" runat="server">
            <label for="field6"><asp:Label ID="personalLocalityGenezaLabel" runat="server" Text="Locul nașterii:" ></asp:Label></label>
            <asp:TextBox ID="personalLocalityGenezaTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server"  EnableClientScript="false" Display="Dynamic" ControlToValidate="personalLocalityGenezaTextBox" > * </asp:RequiredFieldValidator>
        </div>
        <!-- localitate geneza -->
        <div class="field" runat="server" >
            <label for="field7"><asp:Label ID="personalSexLabel" runat="server" Text="Sexul:"></asp:Label></label>
            <asp:DropDownList ID="personalSexDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
        </div>
        <!-- sex -->
        <div class="field" runat="server">
            <label for="field8"><asp:Label ID="Label22" runat="server" Text="Cetăţenia: "></asp:Label></label>
            <asp:TextBox ID="personalCetatenieTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>
        <!-- cetatenia -->
            <div runat="server" class="field">
                <label for="field8"><asp:Label ID="Label24" runat="server" Text="Cod numeric personal: "></asp:Label></label>
                <asp:TextBox ID="personalCnpTextBox" runat="server" CssClass="input"></asp:TextBox>
            </div>
        <!-- cnp -->
        <div class="field" runat="server">
            <label for="field9"><asp:Label ID="personalNumeTataLabelpe" runat="server" Text="Prenumele tatălui: "></asp:Label></label>
            <asp:TextBox ID="personalNameTataTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>
        <!-- nameTata -->
        <div class="field" runat="server">
            <label for="field10"><asp:Label ID="personalNumeMamaLabel" runat="server" Text="Prenumele mamei:"></asp:Label></label>
            <asp:TextBox ID="perosnalNameMamaTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>
        <!-- nameMama -->
        <div class="field" runat="server">
            <label for="field11"><asp:Label ID="personalAddressDomLabel" runat="server" Text="Domiciliul/Reședința:"></asp:Label></label>
            <asp:TextBox ID="personalAddresDomTextBox" runat="server" CssClass="input"></asp:TextBox>
            *</div>

        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <!-- domiciliu -->
                <div class="field" runat="server">
                    <label for="field12"><asp:Label ID="personalCountryDomLabel" runat="server" Text="Țara: "></asp:Label></label>
                    <asp:DropDownList ID="personalCountryDomDDL" runat="server" AutoPostBack="true" CssClass="input" onselectedindexchanged="personalCountryDomDDL_SelectedIndexChanged" Height="32px"></asp:DropDownList>
                </div>
                <!-- country domiciliu -->
                <div class="field" runat="server">
                    <label for="field13"><asp:Label ID="personalLocalityDomLabel" runat="server" Text="Provincia: "></asp:Label></label>
                    <asp:DropDownList ID="personalJudeteDDL" runat="server" CssClass="input" Height="32px"></asp:DropDownList>
                </div>
                <!-- county domiciliu -->
            </ContentTemplate>
        </asp:UpdatePanel>


        <div class="field" runat="server">
            <label for="field14"><asp:Label ID="personalTelefonLabel" runat="server" Text="Telefon: "></asp:Label></label>
            <asp:TextBox ID="personalTelefonTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <!-- phone -->
        <div runat="server" class="field">
            <label for="field15"><asp:Label ID="personalEmailLabel" runat="server" Text="Email:"></asp:Label></label>
            <asp:TextBox ID="personalEmailTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="personalEmailTextBox" OnServerValidate="ServerValidation"></asp:CustomValidator>
        </div>
        <!-- email -->       
        <div class="field" runat="server">
            <label for="field18"><asp:Label ID="personalPasaportLabel" runat="server" Text="Carte identitate/Pasaport:"></asp:Label></label>
            <asp:TextBox ID="personalPasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <div class="field" runat="server">
            <label for="field18"><asp:Label ID="personaleliberatDetLabel" runat="server" Text="Eliberat de:"></asp:Label></label>
            <asp:TextBox ID="personalEliberatDeTextBox" runat="server" CssClass="input"></asp:TextBox>
        </div>
        <!-- pasaport -->
        <div class="field" runat="server">
            <label for="field19"><asp:Label ID="personalDataEliberarePasaportLabel" runat="server" Text="Data eliberării actului: "></asp:Label></label>
                <asp:TextBox ID="personalDataEliberarePasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="personalDataEliberarePasaportTextBox" />
            </div>
        <!-- dataEliberarePasaport -->
        <div class="field" runat="server">
            <label for="field19"><asp:Label ID="personalDataExpPasaportLabel" runat="server" Text="Data expirării actului: "></asp:Label></label>
            <asp:TextBox ID="personalDataExpPasaportTextBox" runat="server" CssClass="input"></asp:TextBox>
            *<ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="personalDataExpPasaportTextBox"  />
        </div>
        <!-- dataExpPasaport -->
        <asp:Button ID="personalDataSaveButton" runat="server" CssClass="buttonForm" onclick="personalDataSaveButton_Click" Text="Save" />
        <asp:Button ID="personalDataCancelButton" runat="server" CssClass="buttonForm" onclick="personalDataCancelButton_Click" Text="Cancel" CausesValidation="false" />
        
    </div>  
</asp:Panel>

    
<asp:Panel ID="RegFormStep3PanelFamilySelection" runat="server" Visible="false">
    <div class="contactform rounded">
        
        <div class="field">
            <strong>
            <asp:Label ID="selectPersonLabel" runat="server" CssClass="auto-style7" 
                ForeColor="#189AAD" Visible="False">Alegeți persoana pe care doriți să o programați:</asp:Label>
          
            <h2>
                <asp:Label ID="Label43" runat="server" CssClass="auto-style5">Programare</asp:Label>
            </h2>
            </strong>
            
            <p>
                Alegeți persoana/persoanele pe care doriți să le programați:
                <br />
                <em>(Puteti programa mai multe persoane odată dar nu puteti programa o persoană 
                de mai multe ori)</em></p>
           
            <asp:GridView ID="programareFamilyMembersGridView" 
                runat="server" 
                AllowPaging="True" 
                AlternatingRowStyle-CssClass="alt" 
                AutoGenerateColumns="False" 
                CellPadding="4" 
                CssClass="mGrid" 
                EnableModelValidation="True" 
                HorizontalAlign="Justify" 
                PagerStyle-CssClass="pgr"
                Width="100%">
                <AlternatingRowStyle CssClass="alt" />
                <Columns>
                    <asp:TemplateField HeaderText="Select">
                        <ItemTemplate>
                            <asp:CheckBox ID="StatusCheked" runat="server" 
                                Checked='<%# Convert.ToBoolean(Eval("StatusCheked")) %>' />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="Code" HeaderStyle-CssClass="hideGridColumn" 
                        HeaderText="ID Solicitant" HtmlEncode="False" 
                        ItemStyle-CssClass="hideGridColumn">
                    <HeaderStyle CssClass="hideGridColumn" />
                    <ItemStyle CssClass="hideGridColumn" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Nume" HeaderText="Nume" HtmlEncode="False">
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Prenume" HeaderText="Prenume" HtmlEncode="False">
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Data Nastere">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" 
                                Text='<%# ((DateTime)Eval("DataNastere")).ToShortDateString() %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="ParentID" HeaderStyle-CssClass="hideGridColumn" 
                        HeaderText="Parent ID" HtmlEncode="False" ItemStyle-CssClass="hideGridColumn">
                    <HeaderStyle CssClass="hideGridColumn" />
                    <ItemStyle CssClass="hideGridColumn" />
                    </asp:BoundField>
                </Columns>
                <PagerStyle CssClass="pgr" />
            </asp:GridView>
            <br />
            <br />
            <asp:Button ID="FamilySelectionOkButton" runat="server" 
                onclick="FamilySelectionOkButton_Click" Text="Următorul pas" />
            <asp:Label ID="Label2" runat="server" 
                Text=" Sau " Visible="False"></asp:Label>
            <asp:Button ID="familySelectionNextStepButton" runat="server" Text="Urmatorul Pas!" 
                onclick="FamilySelectionOkButton_Click" Visible="False" />
        </div>
    </div>


</asp:Panel>


<asp:Panel ID="RegFormStep3Panel" runat="server" Visible="false">
    <!-- Programare -->
   
    <div class="contactform rounded">
        <h4 class="page_title"><asp:Label ID="headerRegForm3Label" runat="server" 
                CssClass="auto-style7" ForeColor="#31A6BD">Programarea orelor</asp:Label></h4>
        <!--01 select consulat -->
       <p><strong>
        <asp:Label ID="consulatForDeservireLabel" runat="server">Misiunea dumneavoastră este :</asp:Label>
        </strong></p>
                  
        <div class="field">
            <label for="field02">
                <asp:Label ID="ServiciuRegForm3Label" runat="server">Alegeți serviciul consular:</asp:Label></label>
            <asp:DropDownList ID="ServiciuRegForm3Selector" runat="server" CssClass="input" 
                Width="210px" onselectedindexchanged="RegForm3Calendar_SelectionChanged" 
                AutoPostBack="True" Height="28px"></asp:DropDownList>
            <p class="hint"><asp:Label runat="server" ID="hintServiciuLabel">Alegeți serviciul consular</asp:Label></p>
            <br />
            <br />
        </div>


            <!--02 select serviciu -->

            <div class="field">
                <label for="field03"><asp:Label ID="calendarRegForm3Label" runat="server">Alegeţi data când doriţi programarea:</asp:Label></label>
                <asp:Calendar ID="RegForm3Calendar" runat="server" 
                        ondayrender="RegForm3Calendar_DayRender" 
                        onselectionchanged="RegForm3Calendar_SelectionChanged" Width="210px"></asp:Calendar>
                <br />
                <p class="hint"><asp:Label runat="server" ID="hintCalendarRegForm3Label">Selectati data</asp:Label></p>
                <strong class="newStyle1"><span class="auto-style9">Alegeți intervalul orar în care doriți 
                programarea:</span></strong><span class="field">
                <br />
                <br />
                </span>
            </div><!--03 select data -->

         <div><% Response.Write(detailsDataGrid); %></div>  
    </div>    
             
</asp:Panel>
   
<asp:Panel ID="RegFormStep6Panel" runat="server" Visible="false">
    <!-- Seetings -->
    
    <div class="contactform rounded">
        <h4 class="page_title"><asp:Label ID="pageTitelRegFormStep6Label" runat="server" 
                CssClass="auto-style7" ForeColor="#4AAEC6">Schimbarea parolei</asp:Label></h4>
            <div class="field">
                <label for="field01"><asp:Label ID="oldPasswordRegForm6Label" runat="server">Parola veche:</asp:Label></label>
                <asp:TextBox ID="oldPasswordRegForm6TextBox" runat="server" CssClass="input"></asp:TextBox>
                <p class="hint"><asp:Label runat="server" ID="hintOldPasswprdRegForm6Label">Inserati parola veche</asp:Label></p>
            </div><!--01 old password -->
            <div class="field">
                <label for="field02"><asp:Label ID="newPasswordRegForm6Label" runat="server" >Parola nouă:</asp:Label></label>
                <asp:TextBox ID="newPasswordRegForm6TextBox" runat="server" CssClass="input"></asp:TextBox>
                <p class="hint"><asp:Label runat="server" ID="hintNewPasswordRegForm6Label">Inserati parola noua</asp:Label></p>
            </div>
        <br />
        <!--02 new password -->
        <asp:Button ID="updateRegForm6Button" runat="server" Text="Save" onclick="updateRegForm6SaveButton_Click" CssClass="buttonForm" />
        <asp:Button ID="cancelRegForm6Button" runat="server" Text="Cancel" onclick="cancelRegForm6Button_Click" CssClass="buttonForm" />

        <br />
        <br />

        <h4 class="page_title"><asp:Label ID="pageTitleCancelAccountLabel" runat="server" 
                CssClass="auto-style7" ForeColor="#4AAEC6">Anularea contului</asp:Label></h4>
        <div class="field"><asp:Label ID="textCancelAccountLabel" runat="server">Prin apăsarea butonului de anulare , contul dvs va fi anulat. Prin aceasta , datele dvs cat si ale membrilor de familie (dacă au fost introduse) vor fi șterse din baza de date. <br />Pentru a solicita ulterior o programare pentru servicii consulare va fi necesară reintroducerea datelor persoanle. Prin apăsarea butonului îmi exprim acordul cu cele enunțate mai sus.</asp:Label>
        <asp:Button ID="AnulareRegForm6Button" runat="server" CssClass="buttonForm" Text="Anularea contului" OnClientClick="return confirm('Sunteti sigur?');" onclick="AnulareRegForm6Button_Click" />
        </div>
</div>
</asp:Panel>


<script language="javascript" type="text/javascript">

    function confirmDelete() {
        return confirm('Programarea pe data aceasta nu va mai putea fi recuperata. Doriti sa o anulati ?');
    }
</script>

<asp:Panel ID="statisticaInregistrarilorPanel" runat="server" Visible="false" 
        BackColor="#EEEEEE" CssClass="auto-style10" Width="621px" 
        BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px">
    <!-- Statistica -->
    <h4 class="page_title"><asp:Label ID="Label4" runat="server" CssClass="auto-style7" 
            ForeColor="#4AAEC6">  Statistică</asp:Label></h4>
    <p>În tabelul de mai jos sunt găsiți toate programările dvs și ale membrilor de 
        familie. Puteți să anulați o programare activă, în situația în care nu mai 
        puteți să vă prezentați la data solicitată. </p>
    <div>
        <asp:GridView ID="statisticaInregistrarilorGridView" runat="server" 
                CellPadding="4" 
                EnableModelValidation="True" 
                HorizontalAlign="Justify" 
                CssClass="mGrid"
                PagerStyle-CssClass="pgr"
                AlternatingRowStyle-CssClass="alt"
                Width="621px" AutoGenerateColumns="False" 
            OnRowDeleting="statisticaInregistrarilorGridView_RowDeleting">   
                
                <AlternatingRowStyle CssClass="alt" />
                <Columns>
                    <asp:BoundField DataField="Nr. programare" HeaderText="Nr. programare" 
                        HtmlEncode="False" />
                    <asp:TemplateField HeaderText="Data solicitare">
                        <ItemTemplate>
                            <asp:Label ID="dataSolicitariiLabel" runat="server" 
                                Text='<%# ((Eval("Data Solicitarii") != null && Eval("Data Solicitarii") is DateTime) ?  ((DateTime)Eval("Data Solicitarii")).ToShortDateString() : "") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Data programare">
                        <ItemTemplate>
                            <asp:Label ID="dataProgramariiLabel" runat="server" 
                                Text='<%# ((Eval("Data Programarii") != null && Eval("Data Programarii") is DateTime) ?  ((DateTime)Eval("Data Programarii")).ToShortDateString() : "") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="Ora Programarii" HeaderText="Ora programare" 
                        HtmlEncode="False" />
                    <asp:BoundField DataField="Serviciul" HeaderText="Serviciul" 
                        HtmlEncode="False" />
                    <asp:TemplateField HeaderText="Data Prelucrarii" Visible="False">
                        <ItemTemplate>
                            <asp:Label ID="dataPrelucrariiLabel" runat="server" 
                                Text='<%# ((Eval("Data Prelucrarii") != null && Eval("Data Prelucrarii") is DateTime) ?  ((DateTime)Eval("Data Prelucrarii")).ToShortDateString() : "") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="Nume Prenume" HeaderText="Nume Prenume" 
                        HtmlEncode="False" />
                    <asp:TemplateField>
                        <ItemTemplate>
                            <asp:Button ID="deleteButton" runat="server" CommandName="Delete" 
                                OnClientClick="return confirmDelete()" OnDataBinding="deleteButton_DataBinding" 
                                Text="Anulare" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <PagerStyle CssClass="pgr" />
            </asp:GridView>
    </div>
</asp:Panel>

<asp:Panel ID="ProgramareTruePanel" runat="server" Visible="false">
    <h4 class="page_title"><asp:Label ID="Label5" runat="server" CssClass="auto-style7" 
            ForeColor="#4AAEC6">Rezultatul programării!</asp:Label></h4>
    <p><asp:Label runat="server" ID="programareIDlabel" Font-Bold="True"></asp:Label></p>    
</asp:Panel>

<asp:Panel ID="hiddenPanel" runat="server">
    <asp:HiddenField ID="isPersonJuridiHiddenFieldID" runat="server" />
</asp:Panel>



</asp:Content>

<asp:Content ID="Content1" runat="server" contentplaceholderid="HeadContent">
    <style type="text/css">
        .auto-style5 {
            color: #189AAD;
            font-size: medium;
        }
        .auto-style7 {
            color: #000000;
            font-size: medium;
        }
        .auto-style8 {}
        .newStyle1 {
            font-family: "Times New Roman", Times, serif;
        }
        .field {
            font-family: Cambria;
        }
        .auto-style9 {
            font-size: medium;
        }
        .auto-style10 {}
        .mGrid {}
        .auto-style11 {
            width: 120px;
        }
        .auto-style12 {
            width: 141px;
        }
        .auto-style15 {
            width: 119px;
        }
        .auto-style16 {
            margin-top: 0px;
        }
        .auto-style17 {}
    </style>
</asp:Content>


